<?php
namespace Admin\Models\device;

use Admin\Models\BaseModel;
class XhsysDevicerepairProject extends BaseModel
{

    /**
     * @var integer or string
     */
    public $iId;
    public $iTypeId;
    public $sTypeName;
    public $sProjectName;
    public $sProjectPay;

    /**
     *
     * @var integer
     *
     */
    public $bDelete;

    /**
     *
     * @var string
     *
     */
    public $tCreateDate;

    /**
     *
     * @var integer
     *
     */
    public $iCreateUserId;

    /**
     *
     * @var string
     *
     */
    public $tLastModifyDate;

    /**
     *
     * @var integer
     *
     */
    public $iLastModifyUserId;

    /**
     * Initialize method for model.
     */
    public function initialize()
    {
        parent::initialize();
        $this->setSource("'XHSys_DeviceRepairProject'");
    }

    /**
     * Returns table name mapped in the model.
     *
     * @return string
     */
    public function getSource()
    {
        return 'XHSys_DeviceRepairProject';
    }

    /**
     * Allows to query a set of records that match the specified conditions
     *
     * @param mixed $parameters
     * @return XhsysDevicecheck[]|XhsysDevicecheck
     */
    public static function find($parameters = null)
    {
        return parent::find($parameters);
    }

    /**
     * Allows to query the first record that match the specified conditions
     *
     * @param mixed $parameters
     * @return XhsysDevicecheck
     */
    public static function findFirst($parameters = null)
    {
        return parent::findFirst($parameters);
    }
}
